package com.dfrobot.demo.domain.entity;

import java.util.Date;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "df_customer_level_log")
public class DfCustomerLevelLog {
    @Id
    @Column(name = "customer_member_log_id")
    private Integer customerMemberLogId;

    @Column(name = "customer_member_id")
    private Integer customerMemberId;

    private String description;

    /**
     * 升级到某一等级
     */
    private String level;

    private Integer points;

    @Column(name = "single_point")
    private Integer singlePoint;

    @Column(name = "date_added")
    private Date dateAdded;

    /**
     * 从某个等级到另外一个等级
     */
    private String froms;
}